"""
1. 学习目标

2.

"""
from selenium.webdriver.common.by import By

from common.base import Base


class IndexPage(Base):
    index_url = 'https://ecshop.test2.shopex123.com/index.php'

    def font_text(self):
        return self.base_get_element_text((By.CLASS_NAME,'f4_b'))

    def a_logout(self):
        self.base_click((By.LINK_TEXT,'退出'))